package com.rogue.auth.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.rogue.auth.po.Member;
import com.rogue.auth.po.SysUser;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @author YeaH
 * @create 2022/4/27 1:37
 */
public interface MemberMapper extends BaseMapper<Member> {

    @Select("select * from hs_member where phone = #{phone}")
    SysUser selectByMobile(@Param("phone") String mobile);
}
